package com.example.firstday.kotlin
fun main() {
   ifFun(1,2)
    whenFun(2)
}
fun ifFun(a:Int,b:Int){
    if (a>b){
        println("a>b")
    }else{
        println("a<b")
    }
}
fun whenFun(a:Int){
    when(a){
        1->println("a=1")
        2->println("a=2")
        else->println("a!=1,a!=2")
    }
}

